import { ApiProperty, PartialType } from '@nestjs/swagger';
import { CreateStyleDto } from './create-style.dto';
import { IsArray } from 'class-validator';
import { StyleSizeEntity } from '../entities/style-size.entity';

export class UpdateStyleDto extends PartialType(CreateStyleDto) {
  @ApiProperty()
  @IsArray()
  sizes: StyleSizeEntity[];
}
